<template>
    <div id="app" >
      <div style="width: 100%;height: 100%;margin: 0 auto;">
        <el-row>
          <el-col>
            <el-result icon="success" title="恭喜您,充值成功!" subTitle="点击返回商城">
              <template slot="extra">
                <el-button type="primary" size="medium" @click="back()">返回</el-button>
              </template>
            </el-result>
          </el-col>
        </el-row>
      </div>
</div>
</template>

<script>
export default{
    data: function () {
      return {

      }
    },
    methods: {
      back(){
        location.href="/";
      }
    }
}
</script>